package com.lpc.android.abc.main.mvp;

import com.lpc.android.abc.base.base.IModel;
import com.lpc.android.abc.base.base.IView;
import com.lpc.android.abc.base.bean.HomeCampaign;
import com.lpc.android.abc.base.bean.Wares;

import java.util.List;

import rx.Observable;

/**
 * Created by lipc0113 on 2017/6/16 0016.
 */

public interface MainContract {

    interface View extends IView {
        void homeInfoSuccess(List<HomeCampaign> lists);

        void homeInfoFail(String fail);
    }

    interface Model extends IModel {

        Observable<List<HomeCampaign>> getHomeInfo();

    }

}
